import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

import '../style/app_style.dart';


class AppTheme {
  ///默认下的主题
  static final ThemeData norTheme = ThemeData(
    brightness: Brightness.light,
    appBarTheme:  AppBarTheme(
      iconTheme: IconThemeData(color: Colors.black),
        systemOverlayStyle: const SystemUiOverlayStyle(
            statusBarColor: Colors.transparent,
            statusBarBrightness: Brightness.light,
            statusBarIconBrightness: Brightness.dark,
            systemNavigationBarColor:Colors.white
        ),
        elevation: 0,
        centerTitle: true,
        backgroundColor: AppColor.backGroundColor,
        titleTextStyle: const TextStyle(
            fontSize: 18, fontWeight: FontWeight.bold, color: Colors.black),
        scrolledUnderElevation: 0
    ),
    colorScheme: ColorScheme.light(background: AppColor.backGroundColor,primary: AppColor.primaryColor),
    primaryColor: AppColor.primaryColor,
    primaryColorLight: AppColor.primaryColor,
    primaryColorDark: AppColor.primaryColor,
    tabBarTheme: TabBarTheme(indicatorColor: AppColor.primaryColor),
    useMaterial3: false,
  );


}
